LiveTranscodingAudioConfig class Null safety

转推音频配置。

Constructors

LiveTranscodingAudioConfig({int channels = 2, String codec = 'AAC', int kBitrate = 64, int sampleRate = 48000, AACProfile aacProfile = AACProfile.lc})

Properties

aacProfile ↔ AACProfile
AAC 编码等级。
read / write
channels ↔ int
声道数,可取 1 或 2。
read / write
codec ↔ String
合流转推音频编码器格式。
read / write
hashCode → int
The hash code for this object. [...]
read-only, inherited
kBitrate ↔ int
合流音频码率,单位为 kbps 。
read / write
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
sampleRate ↔ int
音频采样率,单位 Hz。可取 32000Hz、44100Hz、48000Hz,默认值为 48000Hz。
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() → String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) → bool
The equality operator. [...]
inherited